<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
  
<display:table id="testForm" name="testSearchList" class="displaytable" export="false" pagesize="2"
	requestURI="javascript:ajaxSubmitFormPaging('#',$('#divSearch'),'testManageAction_testSearch.action');" >
    <display:column title="ลำดับ" sortable="true" style="width:5px" >
    	 <c:out value="${testForm_rowNum}"/>
    </display:column>
    <display:column title="ชื่อ - สกุล" sortable="true" >
    	${fn:escapeXml(testForm.fname)} ${fn:escapeXml(testForm.lname)} 
    </display:column> 
    <display:column title="ปี" sortable="true" >
    	${fn:escapeXml(testForm.year)} 
    </display:column> 
    <display:column title="บัตรประชาชน" sortable="true" >
    	${fn:escapeXml(testForm.citizen)} 
    </display:column>
    <display:column title="เบอร์ติดต่อ" sortable="true" >
    	${fn:escapeXml(testForm.tel)} 
    </display:column> 
    <display:column title="" sortable="false" style="width:6%" class="textLabel center" >
	   <input class="btnEdit" type="button" title="แก้ไข" value=" " onclick="testEdit('${testForm.id}')"/>
	   <input class="btnDelete" type="button" title="ลบ" value=" " onclick="testDelete('${testForm.id}')"/>
    </display:column>
</display:table>
